﻿<TabItem x:Class="NetwerkScanner.ConnectivityChart"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:local="clr-namespace:NetwerkScanner"
             xmlns:chartingToolkit="clr-namespace:System.Windows.Controls.DataVisualization.Charting;assembly=System.Windows.Controls.DataVisualization.Toolkit"
             mc:Ignorable="d">
    <TabItem.Resources>
        <ResourceDictionary Source="Resources.xaml" />
    </TabItem.Resources>
    <chartingToolkit:Chart Name="lineChart" Title="Ontvangen signaal sterkte" VerticalAlignment="Stretch" Margin="6">
        <chartingToolkit:Chart.LegendStyle>
            <Style TargetType="Control">
                <Setter Property="Width" Value="0" />
                <Setter Property="Height" Value="0" />
            </Style>
        </chartingToolkit:Chart.LegendStyle>
        <chartingToolkit:LineSeries Name="test" DependentValuePath="Value" IndependentValuePath="Key" ItemsSource="{Binding}" IsSelectionEnabled="True">
            <chartingToolkit:LineSeries.DataPointStyle>
                <Style TargetType="chartingToolkit:LineDataPoint">
                    <Setter Property="Opacity" Value="0" />
                    <Setter Property="Background" Value="Blue" />
                </Style>
            </chartingToolkit:LineSeries.DataPointStyle>
            <chartingToolkit:LineSeries.DependentRangeAxis>
                <chartingToolkit:LinearAxis Orientation="Y" Title="RSSI" ShowGridLines="True" Maximum="-10" Minimum="-90"/>
            </chartingToolkit:LineSeries.DependentRangeAxis>
        </chartingToolkit:LineSeries>
    </chartingToolkit:Chart>
</TabItem>
